package openfalcon

import (
	"github.com/grafana/grafana/pkg/components/null"
	"github.com/grafana/grafana/pkg/tsdb"
)

type TargetResponseDTO struct {
	Target     string                `json:"target"`
	DataPoints tsdb.TimeSeriesPoints `json:"datapoints"`
}

type OpenFalconValue struct {
	Timestamp float64    `json:"timestamp"`
	Value     null.Float `json:"value"`
}

type OpenFalconD struct {
	EndPoint string            `json:"endpoint"`
	Counter  string            `json:"counter"`
	DsType   string            `json:"dstype"`
	Step     int               `json:"step"`
	Values   []OpenFalconValue `json:"Values"`
}
